#include <stdio.h>
int main()
{
    unsigned char a = 60; /* 60 = 0011 1100 */
    unsigned char b = 13; /* 13 = 0000 1101 */
    unsigned char c = 0;
    c = a & b; /* 12 = 0000 1100 */
    printf("Line 1 - c is %d\n", c);
    c = a | b; /* 61 = 0011 1101 */
    printf("Line 2 - c is %d\n", c);
    c = a ^ b; /* 49 = 0011 0001 */
    printf("Line 3 - c is %d\n", c);
    c = c << 2; /*196  = 1100 0100 */
    printf("Line 4 - c is %d\n", c);
    c = c >> 3; /* 24 = 0001 1000 */
    printf("Line 5 - c is %d\n", c);
    unsigned char d = ~60; /*195 =  1100 0011 */
    printf("Line 6 - d is %u\n", d);
}
